package com.base;


/**
 * 
 * @author lyw
 *
 */
public class Right {
	private String id;
	private String code;
	private String name;
	private String description;
	private UserGroup userGroup;
	private OperationObject operationObject;
	private Operation operation;

	public void getRights(UserGroup userGroup) {
		
	}
	
	public void getRights(UserGroup userGroup, OperationObject operationObject) {
		
	}
	
	public void hasRight(UserGroup userGroup, Operation o, OperationObject operationObject) {
		
	}
	
	public void hasRight(UserGroup userGroup, OperationObject operationObject) {
		
	}
	
	public void addRight(Right right) {
		
	}
	
	public void deleteRight(Right right) {
		
	}
	
	public void modifyRight(Right right) {
		
	}
	
	public void retrieveRight(Right right) {
		
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public UserGroup getUserGroup() {
		return userGroup;
	}

	public void setUserGroup(UserGroup userGroup) {
		this.userGroup = userGroup;
	}

	public OperationObject getOperationObject() {
		return operationObject;
	}

	public void setOperationObject(OperationObject operationObject) {
		this.operationObject = operationObject;
	}

	public Operation getOperation() {
		return operation;
	}

	public void setOperation(Operation operation) {
		this.operation = operation;
	}
	
	
}
